package com.haikesi.api.timertask.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class TimerTaskVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "Id")
    private String id;

    @ApiModelProperty(value = "平台定时任务ID")
    private String platformTimerTask;

    @ApiModelProperty(value = "定时名称")
    private String timerName;

    @ApiModelProperty(value = "激活定时")
    private Boolean enableTimer;

    @ApiModelProperty(value = "定时时间")
    private String timerTime;

    @ApiModelProperty(value = "定时周期")
    private String timerCycle;

    @ApiModelProperty(value = "定时说明")
    private String timerReadme;

    @ApiModelProperty(value = "组织机构ID")
    private String organizationId;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "禁用标志")
    private Boolean disableFlag;

    @ApiModelProperty(value = "删除标志")
    private Boolean delFlag;
}
